//
//  ZYLLittleCollectionViewCell.m
//  Cartoon
//
//  Created by dllo on 15/7/16.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "ZYLLittleCollectionViewCell.h"

@implementation ZYLLittleCollectionViewCell
- (void)dealloc
{
    [_title release];
    [super dealloc];
}


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.title = [[[UILabel alloc] init] autorelease];
        [self.contentView addSubview:self.title];
    }
    return self;
}

- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    self.title.frame = CGRectMake(0, 0, layoutAttributes.size.width, layoutAttributes.size.height);
}


@end
